<div id="toolbar" >
  <div class="right-toolbar">
  <a title="Lưu">
  <button onclick="document.forms['createUser'].submit()">
  <img src="<?php echo $this->_baseUrl;?>/public/images/web/save.png" height="32px" width="32px"/>
  <span><p>Lưu</p></span>
  </button>
  </a>
  </div>
  <div class="left-toolbar">
  <img src="<?php echo $this->_baseUrl;?>/public/images/web/users.png" height="48px" width="48px"/>
  <span>Thêm thành viên</span>
  </div>
</div>

<div id="box-content">
 <div id="box-content1">
    <form id="createUser" action="<?php echo $this->_baseUrl;?>/admin/user/create" method="post">
      <?php
        if($this->status == 1)
        {
      ?>      
      <div style="padding-bottom:15px; color:#FF0000;width:400px;font-weight:bold;">
      <img src="<?php echo $this->_baseUrl;?>/public/images/web/error.png" width="32" height="32" style="float:left; margin-right:10px;"/>
      Lỗi : <?php echo $this->message;?>
      </div>
      <?php
       }
      ?>
      <p>
        <label>Tên đăng nhập</label>
        <input type="text" name="username" style="padding: 5px;width: 500px;" value="<?php echo $this->input_username;?>"/>
      </p>
      <p>
        <label>Mật khẩu</label>
        <input type="password" name="password" style="padding: 5px;width: 500px;" value=""/>
      </p>
      <p>
        <label>Nhập lại mật khẩu</label>
        <input type="password" name="repassword" style="padding: 5px;width: 500px;" value=""/>
      </p>
      <p>
        <label>Họ và tên</label>
        <input type="text" name="fullname" style="padding: 5px;width: 500px;" value="<?php echo $this->input_fullname;?>"/>
      </p>
      <p>
        <label>Email</label>
        <input type="text" name="email" style="padding: 5px;width: 500px;" value="<?php echo $this->input_email;?>"/>
      </p>
      <p>
        <label>Tài khoản(VNĐ)</label>
        <input type="text" name="credit" style="padding: 5px;width: 500px;" value="<?php echo $this->input_credit;?>"/>
      </p>
      <p>
        <label>Khóa</label>
        <select name="ban">
          
            <option value="0" <?php if($this->input_ban == 0) echo "selected='selected'";?>>Không</option>
            <option value="1" <?php if($this->input_ban == 1) echo "selected='selected'";?>>Có</option>
            </select>
      </p>

    </form>
 </div>
</div>
